import MouseAction from "./MapAction"


export default class MapInfo {
    /** 地图文件 */
    public static mapFileName: string = 'map.jpg'
    /** 数据文件 */
    public static dataFileName: string = 'map.json'
    /** 地图宽度(像素) */
    public static width: number
    /** 地图高度(像素) */
    public static height: number

    /** 网格宽度(像素) */
    public static gridWidth: number = 40
    /** 网格高度(像素) */
    public static gridHeight: number = 40
    /** 行数 Math.ceil(width / gridWidth) */
    public static rows: number
    /** 列数 Math.ceil(height / gridHeight) */
    public static cols: number

    public static mouseAction: MouseAction = MouseAction.Move //操作类型
    public static drawType: number = 1 //绘制类型
    public static isShowPolygon: boolean = false //是否多边形
    public static isShowGrid: boolean = true //是否显示网格
}
